
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

class JuBoNewWebView extends StatelessWidget {

  String url;
  JuBoNewWebView(this.url);
  static final routeName = 'JuBoNewWebView';
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('详情'),
      ),
      body: WebView(
        initialUrl:this.url,
        javascriptMode: JavascriptMode.unrestricted,
      ),
    );
  }

}

